package com.cly.entity;

import com.cly.base.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serial;

/**
 * 违规枚举表
 *
 * @author by 春风能解释
 * <p>
 * 2025-3-7
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@NoArgsConstructor
@Schema(name = "违规枚举表", description = "违规枚举表")
public class Violation extends BaseEntity {

    /**
     * 序列化ID
     */
    @Serial
    private static final long serialVersionUID = 3055210157545834189L;
    /**
     * 违规原因
     */
    @Schema(description = "违规原因")
    private String reason;
    /**
     * 违规级别(0轻微,1一般,2中等,3严重)
     */
    @Schema(description = "违规级别(0轻微,1一般,2中等,3严重)")
    private Integer level;
}
